{template 'admin','header'}
<form action="" method="POST" onsubmit="return r_submit(this);">
    <table cellpadding="2" cellspacing="1" class="table_form">
        <caption>修改试题</caption>
        <!--<tr>
            <th width="20%"><strong>所属站点</strong></th>
            <td>
                <select name="siteid" id="siteid">
                    <option value="">请选择</option>
                    <option value="1">主站</option>
                    <option value="2">从站</option>
                </select>
                 <script>
                    $("#siteid").val("{$template_single['siteid']}");
                 </script>
            </td>
        </tr>-->
        <tr>
            <th><strong>别名</strong></th>
            <td><input type='text' name='byname'  value="{$template_single['byname']}" /></td>
        </tr>
        <tr>
            <th><strong>母版</strong></th>
            <td><input type='text' name='filename'  value="{$template_single['filename']}" /></td>
        </tr>
        <tr>
            <th><strong>生成路径</strong><br>相对网站跟目录</th>
            <td><input type='text' name='url'  value="{$template_single['url']}" /></td>
        </tr>
        <tr>
            <th></th>
            <td>
                <input type="submit" value=" 确定 " class="button_style">&nbsp;
                <input type="button" class="button_style" onclick="self.location='{urldecode($forward)}'" value=" 返回 ">
            </td>
        </tr>
    </table>
    <input type="hidden" name="id" value="{$template_single['templateid']}">
    <input type="hidden" name="forward" value="{$forward}">
</form>
{template 'admin','footer'}